package cn.liontalk.service.impl;

import cn.liontalk.dao.OrderDao;
import cn.liontalk.entity.OrderInfo;
import cn.liontalk.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author: 周哲
 * @package: cn.liontalk.service.impl
 * @description:
 * @date: 2019/1/23 14:50
 * @version: V1.0
 */
@Service
public class OrderServiceImpl implements OrderService {


    @Autowired
    private OrderDao orderDao;


    /**
     * 获取订单想详情
     *
     * @param orderId
     * @return
     */
    @Override
    public OrderInfo getOrderDetailInfoById(long orderId) {
        return orderDao.getOrderDetailInfoById(orderId);
    }
}
